package com.ruoyi;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,SecurityAutoConfiguration.class} ,scanBasePackages = {"com.ruoyi"})
@ComponentScan(basePackages = {"com.ruoyi","cn.darkhorse"})
@MapperScan({"cn.darkhorse.*.mapper","cn.darkhorse.*.dao","cn.darkhorse.workflow.*.mapper","cn.darkhorse.*.*.mapper","cn.darkhorse.*.*.dao"})
@EnableScheduling
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  MES系统启动成功   ლ(´ڡ`ლ)ﾞ ");

    }
}
